package cn.bugio.task11.controller;

import cn.bugio.task11.po.IdCard;
import cn.bugio.task11.po.Person;
import cn.bugio.task11.po.User;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;

@Controller
public class PersonController {

	@RequestMapping("/toPerson")
	public String findPersonsWithIdCard( ) {
	    return "person";
	}
	/**
	 * 接收用户注册信息
	 */
	@RequestMapping("/findPerson")
	public String findPerson(Person person) {
		System.out.println(person);
	    return "success";
	}


}
